all: filetest

CPP = g++
CPPFLAGS = -std=c++11

%.o:%.cpp
	$(CPP) $(CPPFLAGS) -c $< -o $@

filetest: file_main.o
	$(CPP) $(CPPFLAGS) $^ -o filetest

.PHONY: clean
clean:
	rm -rf filetest *.o